import request from "./request";

export const login = (data) => request({
    url: '/app/test/login',
    method: 'post',
    data
})

export const getNameList = () => request({
    url: '/app/test/nameList',
    method: 'post'
})

export const getNameListTwo = (userId) => request({
    url: '/app/test/nameListTwo',
    method: 'post',
    data: {
        userId
    }
})

export const getGasData = (deptId) => request({
    url: `/gas/ghtmlTwo/${deptId}`,
    method: 'get',
})
